
import {get, post,del,put} from "@/api/http";

export const dirWebsiteList = (data) =>
  post("/WebSite/GetAllToPage", data);


export const dirWebsiteDelete = (id) =>
  del("/WebSite/DelById", {id});


export const dirWebsiteCreate = (data) =>
  post("/WebSite/Post", data);

export const dirWebsiteUpdate = (data) =>
  put("/WebSite/Put", data);
